<?php if (!defined('THINK_PATH')) exit();?><!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Jerseys Product</title>
<script type="text/javascript" src="__PUBLIC__/Js/Base.js"></script>
<script type="text/javascript" src="__PUBLIC__/Js/prototype.js"></script>
<script type="text/javascript" src="__PUBLIC__/Js/mootools.js"></script>
<script type="text/javascript" src="__PUBLIC__/Js/Ajax/ThinkAjax.js"></script>
<script type="text/javascript" src="__PUBLIC__/Js/ckeditor/ckeditor.js"></script>
<link href="__PUBLIC__/css/skin.css" rel="stylesheet" type="text/css" />
<script type="text/javascript">
	function update() {
		ThinkAjax.sendForm('dataForm', '__URL__/update', complete, 'result');
	}
	function complete(data, status) {
		if (status == 1) {
			alert("操作成功");
			window.setTimeout(function() {
				window.location.href = '__URL__', 20000
			});
		} else {
			alert("操作失败");
		}
	}
</script>
</head>
<body>
	<table width="100%" border="0" cellpadding="0" cellspacing="0">
		<tr>
			<td width="17" height="29" valign="top"
				background="__PUBLIC__/images/mail_leftbg.gif"><img
				src="__PUBLIC__/images/left-top-right.gif" width="17" height="29" /></td>
			<td width="935" valign="top"
				background="__PUBLIC__/images/content-bg.gif">
				<table width="100%" height="31" border="0" cellpadding="0"
					cellspacing="0" class="left_topbg" id="table2">
					<tr>
						<td height="31">
							<div class="titlebt">订单管理</div>
						</td>
					</tr>
				</table>
			</td>
			<td width="16" valign="top"
				background="__PUBLIC__/images/mail_rightbg.gif"><img
				src="__PUBLIC__/images/nav-right-bg.gif" width="16" height="29" /></td>
		</tr>
		<tr>
			<td height="71" valign="middle"
				background="__PUBLIC__/images/mail_leftbg.gif">&nbsp;</td>
			<td valign="top" bgcolor="#F7F8F9">
				<table width="100%" height="138" border="0" cellpadding="0"
					cellspacing="0">
					<tr>
						<td height="13" valign="top">&nbsp;</td>
					</tr>
					<tr>
						<td valign="top">
							<table width="98%" border="0" align="center" cellpadding="0"
								cellspacing="0">
								<tr>
									<td class="left_txt">当前位置：<a href="__URL__">订单管理</a></td>
								</tr>
								<tr>
									<td height="20">
										<table width="100%" height="1" border="0" cellpadding="0"
											cellspacing="0" bgcolor="#CCCCCC">
											<tr>
												<td></td>
											</tr>
										</table>
									</td>
								</tr>
								<tr>
									<td>
										<table width="100%" height="31" border="0" cellpadding="0"
											cellspacing="0" class="nowtable">
											<tr>
												<td class="left_bt2">&nbsp;&nbsp;&nbsp;&nbsp;商品明细</td>
											</tr>
										</table>
									</td>
								</tr>
								<tr>
									<td>
										<table width="100%" border="0" cellspacing="0" cellpadding="0">
											<form id="dataForm" name="dataForm" method="POST"
												action="__URL__/update" enctype="multipart/form-data">
												<input type="hidden" name="id" value="<?php echo ($vo["id"]); ?>" />
												<tr>
													<td width="20%" height="30" align="right" bgcolor="#f2f2f2" class="left_txt2">订单编号：</td>
													<td width="3%" bgcolor="#f2f2f2">&nbsp;</td>
													<td width="32%" height="30" bgcolor="#f2f2f2">
														<input name="order_no" type="text" id="order_no" size="30" value="<?php echo ($vo["order_no"]); ?>" readonly="readonly" />
													</td>
												</tr>
												<tr>
													<td height="30" align="right" class="left_txt2">currency：</td>
													<td>&nbsp;</td>
													<td height="30"><input type="text" name="currency" size="30" id="currency" value="<?php echo ($vo["currency"]); ?>"  readonly="readonly" /></td>
												</tr>
												<tr>
													<td height="30" align="right" class="left_txt2">price：</td>
													<td>&nbsp;</td>
													<td height="30"><input type="text" name="price" size="30" id="price" value="<?php echo ($vo["price"]); ?>"  readonly="readonly" /></td>
												</tr>
												<tr>
													<td height="30" align="right" class="left_txt2">下单时间：</td>
													<td>&nbsp;</td>
													<td height="30"><input type="text" name="create_time" size="30" id="create_time" value="<?php echo ($vo["create_time"]); ?>"  readonly="readonly" /></td>
												</tr>
												<tr>
													<td height="30" align="right" class="left_txt2">Fist Name：</td>
													<td>&nbsp;</td>
													<td height="30"><input type="text" name="first_name" size="30" id="first_name" value="<?php echo ($vo["first_name"]); ?>"  readonly="readonly" /></td>
												</tr>
												<tr>
													<td height="30" align="right" class="left_txt2">Last Name：</td>
													<td>&nbsp;</td>
													<td height="30"><input type="text" name="last_name" size="30" id="last_name" value="<?php echo ($vo["last_name"]); ?>"  readonly="readonly" /></td>
												</tr>
												<tr>
													<td height="30" align="right" class="left_txt2">Country：</td>
													<td>&nbsp;</td>
													<td height="30"><input type="text" name="country" size="30" id="country" value="<?php echo ($vo["country"]); ?>"  readonly="readonly" /></td>
												</tr>
												<tr>
													<td height="30" align="right" class="left_txt2">State：</td>
													<td>&nbsp;</td>
													<td height="30"><input type="text" name="state" size="30" id="state" value="<?php echo ($vo["state"]); ?>"  readonly="readonly" /></td>
												</tr>
												<tr>
													<td height="30" align="right" class="left_txt2">City：</td>
													<td>&nbsp;</td>
													<td height="30"><input type="text" name="city" size="30" id="city" value="<?php echo ($vo["city"]); ?>" readonly="readonly"  /></td>
												</tr>
												<tr>
													<td height="30" align="right" class="left_txt2">Order Status：</td>
													<td>&nbsp;</td>
													<td height="30"><input type="text" name="order_status" size="30" id="order_status" value="<?php echo ($vo["order_status"]); ?>"  readonly="readonly" /></td>
												</tr>
												<tr>
													<td height="30" align="right" colspan="3"><hr /></td>
												</tr>
												<tr>
													<td height="30" align="right" class="left_txt2">物流公司：</td>
													<td>&nbsp;</td>
													<td height="30">
													 <?php if(is_array($vo["Categories"])): $i = 0; $__LIST__ = $vo["Categories"];if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$cg): ++$i;$mod = ($i % 2 )?><?php echo ($cg["category_name"]); ?>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<?php endforeach; endif; else: echo "" ;endif; ?>
													<br/>
													<select id="express_corp_id" name="express_corp_id" style="width: 200px;">
														<?php if(is_array($expresses)): $i = 0; $__LIST__ = $expresses;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$express): ++$i;$mod = ($i % 2 )?><option value="<?php echo ($express["id"]); ?>" 
															><?php echo ($express["express_name"]); ?></option><?php endforeach; endif; else: echo "" ;endif; ?>
													</select>
													<script type="text/javascript">
														var expressId = '<?php echo ($vo["express_corp_id"]); ?>';
													    if(expressId){
														    var s = document.getElementById("express_corp_id");
														    s.value = expressId;
													    }
													</script>
													</td>
												</tr>
												<tr>
													<td width="20%" height="30" align="right" bgcolor="#f2f2f2" class="left_txt2">物流编号：</td>
													<td width="3%" bgcolor="#f2f2f2">&nbsp;</td>
													<td width="32%" height="30" bgcolor="#f2f2f2">
														<input name="express_no" type="text" id="express_no" size="30" value="<?php echo ($vo["express_no"]); ?>" />
													</td>
												</tr>
												<tr>
													<td height="30" align="right" class="left_txt2">current_price：</td>
													<td>&nbsp;</td>
													<td height="30"><input type="text" name="express_price" size="30" id="express_price" value="<?php echo ($vo["express_price"]); ?>" /></td>
												</tr>
												<tr>
													<td width="50%" height="30" align="center" colspan="4">
														<input type="submit" value="Submit" name="B1" /> &nbsp;&nbsp;&nbsp; 
														<input type="reset" value="Reset" name="B12" /></td>
												</tr>
											</form>
										</table>
									</td>
								</tr>
							</table>
						</td>
					</tr>
				</table>
</body>
</html>